package cn.edu.scau.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * java配置类Audience:用来读取JWT配置信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SpringBootConfiguration
@ConfigurationProperties(prefix = "jwt")
public class Audience {
    private String clientid;
    private String base64Secret;
    private String name;
    private int expiresSecond;

}
